﻿using System.ComponentModel.DataAnnotations;

namespace Pyramid.Models
{
	/// <summary>
	/// 部门
	/// </summary>
	public class Department
	{
		[Display(Name = "部门序号")]
		public int Id { get; set; }

		[Display(Name = "部门名称")]
		[MaxLength(20)]
		[Required]
		public string Name { get; set; }

		[Display(Name = "部门简介")]
		[MaxLength(100)]
		public string Description { get; set; }
	}
}